package com.design.structure.bridge.cainiao;

/**
 * @ProjectName: design
 * @Package: com.design.structure.bridge.cainiao
 * @ClassName: RedCircle
 * @Author: shenaiguo
 * @Description: 创建实现了 DrawAPI 接口的实体桥接实现类。
 * @Date: 2020/9/2 0002 23:44
 */
// 步骤2
public class RedCircle implements DrawAPI {
    @Override
    public void drawCircle(int radius, int x, int y) {
        System.out.println("Drawing Circle[ color: red, radius: "
                + radius +", x: " +x+", "+ y +"]");
    }
}
